package com.zcx.mall.goods.domain;

import lombok.Data;

import java.math.BigDecimal;

@Data
public class GoodsSimpleInfoVo {

    /**
     *
     */
    private Long goodsId;

    private String pic;

    private BigDecimal amount;

    private String name;

    private String desc;

    public  static GoodsSimpleInfoVo getTest() {
        GoodsSimpleInfoVo goodsSimpleInfoVo = new GoodsSimpleInfoVo();
        goodsSimpleInfoVo.setGoodsId(1l);
        goodsSimpleInfoVo.setPic("https://img.youpin.mi-img.com/shopmain/662e9ded493c5eff5b9aa3645a83f6aa.jpg@base@tag=imgScale&F=webp&h=1080&w=1080?w=1080&h=1080");
        goodsSimpleInfoVo.setAmount(new BigDecimal(100));
        goodsSimpleInfoVo.setName("跑步机");

        goodsSimpleInfoVo.setDesc("都爱的跑步机");
        return goodsSimpleInfoVo;
    }
}
